package com.qs.javame.thread.sync;

public class TestSynchronized {

    public static void main(String[] args) {
        try {
            int i = 1 / 0;
        } catch (Exception e) {

        } finally {
            System.out.println("this is finally");
        }
    }


    public static synchronized void m() {
        System.out.println("to do something...");
    }
}
